
// ASUIDlg.h : header file
//

#pragma once
#include "pict.h"
#include "afxcmn.h"
#include "IReading.h"
#include "IReadingInformation.h"
#include "ITime.h"

// CASUIDlg dialog
class CASUIDlg : public CDialog
{
// Construction
public:
	CASUIDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_ASUI_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;
	CToolTipCtrl m_ToolTip;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	CPict networkGraph;
	CListCtrl ListCtrl;
	afx_msg void OnBnClickedOk();
public:
	void setReadingInformation(Sensor::IReadingInformation* readingInformation) { this->ReadingInfo = readingInformation; }
private:
	int oldId;
	char toolTipMsg[150];
	Sensor::IReadingInformation* ReadingInfo;
	afx_msg void OnTimer(UINT_PTR nIDEvent);
	BOOL PreTranslateMessage(MSG* pMsg);
public:
	
};
